package com.openbravo.pos.forms;

import com.openbravo.basic.BasicException;
import java.util.Date;
import com.openbravo.data.loader.Session;
import com.openbravo.pos.printer.*;
import com.openbravo.pos.scale.DeviceScale;
import com.openbravo.pos.scanpal2.DeviceScanner;

/**
 *
 * @author adrianromero
 */
public interface AppView {
    
    public DeviceScale getDeviceScale();
    public DeviceTicket getDeviceTicket();
    public DeviceScanner getDeviceScanner();
      //Clock in/Clock out
    public boolean getClockedIn(String employeeID);
     public  void clockIn( String employeeID, Date date) throws BasicException;
     public  void clockOut( String employeeID, Date date) throws BasicException;
     
    public Session getSession();
    public AppProperties getProperties();
    public Object getBean(String beanfactory) throws BeanFactoryException;
   
    public void setActiveCash(String value, int iSeq, Date dStart, Date dEnd);
    public String getActiveCashIndex();
    public int getActiveCashSequence();
    public Date getActiveCashDateStart();
    public Date getActiveCashDateEnd();
    
    public String getInventoryLocation();
    
    public void waitCursorBegin();
    public void waitCursorEnd();
    
    public AppUserView getAppUserView();
}

